/**
  ******************************************************************************
  * @author     Chris
  * @since      2024/6/10 12:38
  *
  * @file       hd_oled_protocol_i2c.h
  * @brief      Head file of OLED I2C Communication Protocol Hardware Driver.
  *
  * @note       This file contains the I2C Communication Protocol hardware
  *             driver's function declaration for the OLED.
  *
  * @warning    None.
  ******************************************************************************
  * Change Logs:
  *   Date           Author       Notes
  *   2024/6/10     Chris        the first version
  *
  ******************************************************************************
  */

#ifndef JLC_SKY_OLED_PROTOCOL_I2C_H
#define JLC_SKY_OLED_PROTOCOL_I2C_H


#include "pd_i2c.h"
#include "hd_oled_protocol.h"


// Object properties
typedef struct {
    /* extends {@link OLEDProtocol} */
    OLEDProtocol oledProtocol;

    I2C* i2c;
} OLEDProtocolI2C;


// Object constructor and member function
void OLEDProtocolI2C_constructor(OLEDProtocolI2C* this, I2C* i2c);


#endif // JLC_SKY_OLED_PROTOCOL_I2C_H
